package com.cory.module.job.domain.vo;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@Accessors(chain = true)
@NoArgsConstructor
public class Job {

    /**
     * 归属对象id
     */
    private Integer targetId;

    /**
     * 归属对象类型
     */
    private Integer targetType;

    /**
     * 类型
     */
    private String type;

    /**
     * 子业务类型
     */
    private String busType;

    /**
     * 子业务类型id
     */
    private Integer busId;

    public Job(Integer targetId, Integer targetType, String type, String busType, Integer busId) {
        this.targetId = targetId;
        this.targetType = targetType;
        this.type = type;
        this.busType = busType;
        this.busId = busId;
    }
}
